@inject('authorService', 'App\Services\authorService')
@inject('categoryService', 'App\Services\categoryService')
@inject('articleService', 'App\Services\articleService')
<div class="col-md-4">
    <div class="panel panel-default">
        <div class="panel-heading home_background_color">
            <h3 class="panel-title">作者：{!! $authorService->getAuthorMsg()->name !!}</h3>
        </div>
        <div class="panel-body text-center">

            <img src="{{asset('uploads/portrait')}}/{!! $authorService->getAuthorMsg()->image !!}" class="img-circle author-avatar" alt="User Image" width="50%">

        </div>

    </div>
    <div class="panel panel-default">

        <div class="panel-heading home_background_color">
            <h3 class="panel-title">标签</h3>
        </div>
        <div class="panel-body text-center">
            <!-- Standard button -->
            {!! $categoryService->getCateMenu() !!}
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading home_background_color">
            <h3 class="panel-title">热门文章</h3>
        </div>
        <div class="panel-body text-center">
            {!! $articleService->getHotArticleMenu() !!}
        </div>
    </div>
</div>